<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //异步操作
        setTimeout(function(){
            console.log(111);
        },3000);
        console.log("哈哈");

        //同步操作
        // alert("嘻嘻");
        // console.log("吃饭");
    </script>
</head>
<body>
    
</body>
</html>